import http from "@/utils/http.js";

/**
 * 获取订单详情信息
 * @param {string} id
 * @returns
 */
export function orderDetailAPI(id) {
    return http.get(`/shoppingOrder/orderDetail/${id}`);
}

/**
 * useAliPay
 * @param {string} orderId
 * @returns
 */
export function useAliPayAPI(orderId) {
    return http.get(`/pay/aliPay/${orderId}`);
}
